﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace HWCWorker_Worker
{
    static class NativeMethods
    {
        [DllImport("kernel32.dll")]
        public static extern int GetPrivateProfileString(string lpAppName,
                                                         string lpKeyName,
                                                         string lpDefault,
                                                         StringBuilder lpReturnedString,
                                                         int nSize,
                                                         string lpFileName);

        [DllImport("kernel32.dll")]
        public static extern int WritePrivateProfileString(string lpAppName,
                                                           string lpKeyName,
                                                           string lpString,
                                                           string lpFileName);
    }
}
